import {axios} from './axios'

export default {
  /**
   * 获取所有年度数据
   * @param {接口参数} parmas 
   */
  getYear (parmas) {
    return axios.post('smartShoes/web/rungroup/statistics/year.json', parmas)
  },
  /**
   * 获取chart数据
   * @param {接口参数} parmas 
   */
  getChart (parmas) {
    return axios.post('smartShoes/web/rungroup/statistics/chat.json', parmas)
  },
  /**
   * 获取详细数据
   * @param {接口参数} parmas 
   */
  getDetail (parmas) {
    return axios.post('smartShoes/web/rungroup/statistics/detail.json', parmas)
  }
}